package com.example.factory.simple.calculator;

/**
 * 操作类：减法
 */
public class OperationSub extends Operation {


    @Override
    public double getResult() {
        return getNum1() - getNum2();
    }
}
